crush: fix crash from invalid 'take' argument