Fixed error when submitting params owner id and owner type