Fixed problem with method Read.getMatePosition returning null value