Fixed a problem with method getRowIndexByFID

Had to turn a double value into an int one.