Fix for MiSeq

@ewels : Probably you might hate me but really sorry for the short PRs. Like I mentioned I was in a hurry and dint test it, but now have tested and it works for MiSeq and HiSeq :)