Syntax fixes for the deal and shuffle functions