Implemented method applyLimit in CommandBuilder;