Bug fixed at swapRowsNull method