Fixed a bug on activerecord delete based on a input parameter conflict.