Fixed bug with slection inconsistency