Fix template update during user synchronization
Fix template update during user synchronization

It's not a good idea to use contains_eager() on a relation which is part
of the filter criteria.

Change-Id: Ib8cc5da9d76c14317e1d2e872a27a156e78d2b6a
Addresses-Issue: Jira/AQUILON-3133
Reviewed-by: Priya Joshi <3c6cfa6f57440adfc837c4ad04483313acbc2582@morganstanley.com>

quattor/aquilon,quattor/aquilon,guillaume-philippon/aquilon,guillaume-philippon/aquilon,quattor/aquilon,guillaume-philippon/aquilon