minor fix to deepEquals