Inverted the arguments to appinterface_can_call()