Fixed wrong function call for deleting queue messages in docs