Removing non existent items from params to avoid bug when clicking on remove multiple times or when clicking on multiple remove buttons

Skipping filter if there is only one line item being updated

Fixing order controller spec

Dealing with case when line items attributes is nil

Fixes #5318