Fix potential error if variation doesn't exist