Tested something similar with 5.2.7 and I couldn't reproduce it. In SQL the reference to the updated table gets properly prefixed with the table name.