Improve convert safety
Problem/Motivation
To protect the autolayout method, there is a try/catch which is too broad and we may skip certain parts of the code that we don't want to.
Proposed resolution
Make the try/catch more limited.
Edited by drupalbot