There are two problems here, the first is you have the check of the jump input after the move and slide has already completed and the second is that it is checking if left and right are in place before checking if the jump is happening.
Put the jump if in the same if block as the rest and make it the first check in that if block (make the move left check the first elif) this should fix it.